package priv.conceit.sc.hoxton.common.entity.auth.contractor.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 承包商单位
 * </p>
 *
 * @author conceit
 * @since 2020-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("auth_contractor_user")
public class ContractorUser implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private LocalDateTime ctime;

    private LocalDateTime utime;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 承包商id
     */
    private Long contractorId;


}
